package com.akkainaction.helloactor.become.po;

import java.io.Serializable;

public final class Emp implements Serializable {

    private final String name;

    private final double salary;

    public Emp(String name, Integer salary) {
        this.name = name;
        this.salary = salary;
    }

    public String getName() {
        return name;
    }

    public double getSalary() {
        return salary;
    }

    @Override
    public String toString() {
        return "Emp{" +
                "name='" + name + '\'' +
                ", salary=" + salary +
                '}';
    }
}
